export interface IModalConfigFormItemProps {
  type: string
  prop: string
  label: string
  placeholder?: string
  initialValue?: any
  options?: { label: string; value: any }[]
  slotName?: string
}

export interface IModalConfigProps {
  pageName: string
  header: {
    createTitle: string
    updateTitle: string
  }
  formItems: IModalConfigFormItemProps[]
}

export interface IProps {
  modalConfig: IModalConfigProps
  // 额外传递给组件的数据
  otherInfo?: any
}
